<template>
    <div>
        <div class="header" style="background-color: white">
            <el-page-header @back="goBack" content="档案借阅">
            </el-page-header>
        </div>
        <el-divider></el-divider>
        <el-tabs v-model="activeName" type="card">
            <el-tab-pane label="借阅管理" name="1">
                <dananjieyue></dananjieyue>
            </el-tab-pane>
            <el-tab-pane label="借阅记录" name="2">
                <dananjilu></dananjilu>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>

    import dananjieyue from './dananjieyue.vue'
    import dananjilu from './dananjilu.vue'

    export default {
        data() {
            return {
                activeName: '1'
            };
        },
        methods:{
            goBack(){
                history.back()
            }
        },
        components:{
            dananjieyue,
            dananjilu
        }
    };
</script>

<style scoped>

</style>
